<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<%@ include file="common/header.jspf"%>
<%@ include file="common/navigation.jspf"%>
<div class="panel panel panel-primary" style="width: 800px;margin: auto;">
    <div class="panel-heading">
        编辑用户信息
    </div>
    <div class="panel-body">
<form action="edit.do" method="post" class="form-horizontal">
    <div class="form-group">
        <input type="hidden" value="${user.id}" name="id">
        <label class="col-sm-2 control-label">用户名:</label>
        <div class="col-sm-10">
            <input type="text" class="form-control"  name="name" value="${user.name}" placeholder="请输入姓名">
        </div>
    </div>
    <div class="form-group">
        <label  class="col-sm-2 control-label">年龄:</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" name="age" value="${user.age}" placeholder="请输入年龄">
        </div>
    </div>
    <div class="form-group">
        <label  class="col-sm-2 control-label">性别:</label>
        <div class="col-sm-10">
            <input type="text" class="form-control"  name="gender" value="${user.gender}" placeholder="请输入性别">
        </div>
    </div>
    <div>
        <div>
            <button type="submit" class="btn btn-primary">提交</button>
            <button type="reset" class="btn btn-info">重置</button>
        </div>
    </div>
</form>
    </div>
</div>
<%@include file="common/footer.jspf"%>
